package cn.kgc.ffzw.day14.src.homework;

public class day14 {
    public static void main(String[] args) {

        Hero hero=new Hero();
        hero.gongji=66;
        hero.fangyu=33;
        hero.shenming=666;
        hero.kill();
        String str= hero.say();
        System.out.println(hero.say());
        System.out.println("----------------------------------");


        YeGuai yg=new YeGuai();
        yg.gongji=22;
        yg.fangyu=22;
        yg.shenming=200;
        yg.kill();
        System.out.println("----------------------------------");
        Soldier s=new Soldier();
        s.gongji=11;
        s.fangyu=11;
        s.shenming=100;
        s.kill();
        s.move();
    }
}
